<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<link rel="STYLESHEET" type="text/css"
	href="./apps_res/oa2uap/js/tree/dhtmlxtree.css">
<link rel="stylesheet" type="text/css"
	href="./apps_res/myCommonJS/css/repeatTable.css">
<script type="text/javascript" src="./apps_res/myCommonJS/repeatTable.js"></script>
<script src="./apps_res/oa2uap/js/tree/dhtmlxcommon.js"></script>
<script src="./apps_res/oa2uap/js/tree/dhtmlxtree.js"></script>
<script src="./apps_res/oa2uap/js/My97DatePicker/WdatePicker.js"></script>
</head>

<style>
font {
	font-family: 微软雅黑;
	font-size: 10.5pt;
}

td a {
	font-family: Arial;
	font-size: 10.5pt;
	color: #333399;
}

.manualInput {
	font-family: Arial;
	font-size: 10.5pt;
	width: 93%;
	color: #333399;
	background-color: #FFFFCC;
}

.readOnlyInput {
	font-family: Arial;
	font-size: 10.5pt;
	width: 93%;
	color: #333399;
	background-color: #FFFFee;
}

.disabledInput {
	font-family: Arial;
	font-size: 10.5pt;
	width: 93%;
	color: #333399;
	background-color: #F0F0F0;
}
</style>
<body style="background-color: #fff; margin-top: 10px">
	<div id='lodingDiv'
		style='display: none; filter: alpha(opacity =                                                 30); opacity: 0.3; z-index: 12001; text-align: center; position: absolute; width: 100%; height: 600px; background: url("./apps_res/oa2uap/img/loding.gif") no-repeat center center #666; left: 0; top: 0;'>
		&nbsp;</div>
	<table align="center" border="1" bordercolor="#000"
		style="font-family: 微软雅黑; font-size: 10.5pt; BORDER: #000 1pt solid; TABLE-LAYOUT: fixed; WIDTH: 748px; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word;">
		<colgroup>
			<col width="87px" style="width: 87px">
			<col width="100px" style="width: 100px">
			<col width="87px" style="width: 87px">
			<col width="100px" style="width: 100px">
			<col width="87px" style="width: 87px">
			<col width="100px" style="width: 100px">
			<col width="87px" style="width: 87px">
			<col width="100px" style="width: 100px">
		</colgroup>
		<tbody>
			<tr valign="middle" height="27px">
				<td align="center">供应商查询</td>
				<td colspan="7"><span style="float: left; width: 285px;">
						<input type="radio" name="providerIsExist"
						onclick="onSupplierTypeRadioClick()" /> <a> 不在供应商名录内</a>
				</span><span style="float: left; width: 325px;"> <input type="radio"
						name="providerIsExist" onclick="onSupplierTypeRadioClick()" /> <a>
							在供应商名录内，新增供货范围的供应商</a>
				</span></td>
			</tr>
			<tr valign="middle" height="27px" id="queryTR" style="display: none;">
				<td align="left" colspan="8">&nbsp;请输入要查询的供应商编码： <input
					id='query_providerCode' name='query_providerCode'
					class="manualInput" style='width: 200px' /> <input
					id="queryButton" name="queryButton"
					style="FONT-SIZE: 8pt; WIDTH: 60px;" type="button" value="查询"
					onclick="queryProviderInfo()" />
				</td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">供应商名称</td>
				<td colspan="3"><input name="providerName"
					class="disabledInput" disabled="disabled"></td>
				<td align="center">供应商编码</td>
				<td colspan="3" style="border-right: white 0px;"><input
					name="providerCode" class="disabledInput" disabled="disabled">
				</td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">处理意见</td>
				<td colspan="7"><span style="float: left; width: 285px;">
						<input type="radio" name="opinion" value="0" disabled="disabled"
						onclick='onOpinionRadioClick()' /> <a>导入潜在供应商名录</a>
				</span><span style="float: left; width: 285px;"> <input type="radio"
						name="opinion" value="1" disabled="disabled"
						onclick='onOpinionRadioClick()' /> <a>导入合格供应商名录</a>
				</span></td>
			</tr>
			<tr id="groupManageTR" style="display: none;" valign="middle" height="27px">
				<td align="center">集团管控</td>
				<td colspan="7"><span style="float: left; width: 285px;">
						<input type="radio" name="groupManage" value="1"
						disabled="disabled" /> <a>在集团重点管控物料类别清单内</a>
				</span><span style="float: left; width: 285px;"> <input type="radio"
						name="groupManage" value="2" disabled="disabled" /> <a>不在集团重点管控类别清单内</a>
				</span></td>
			</tr>
			<tr id='supplyRangeTR'>
				<td colspan="8">
					<div style="width: 50%; float: left; display: none;"
						id='supplyRangeParentDIV'>
						供货范围: <input type="hidden" name='needPresidentApprove'
							value='false'>
						<div id='supplyRangeDIV' style='height: 180px;'></div>
					</div>
					<div id='companyTreeParentDIV'
						style='display: none;'>
						导入制造部:
						<div id='companyTreeDIV' style="height: 180px;"></div>
					</div>
				</td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">是否福耀关联方</td>
				<td colspan="7"><select name="cvenfygl" class="disabledInput"
					disabled="disabled"><option value="是">是</option><option  value="否">否</option></select></td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">新增原因</td>
				<td colspan="7"><input name="reason" class="disabledInput"
					disabled="disabled"></td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">同类供应商</td>
				<td colspan="7"><input name="similarSuppliers"
					class="disabledInput" disabled="disabled"></td>
			</tr>
			<tr valign="middle" height="27px">
				<td colspan="8" style="font-weight: bold; text-align: center;">供应商基本信息</td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">企业地址</td>
				<td><input name="address" class="disabledInput"
					disabled="disabled"></td>
				<td align="center">发货地址</td>
				<td><input name="supplyAddress" class="disabledInput"
					disabled="disabled"></td>
				<td align="center">税务登记号</td>
				<td><input name="taxRegister" class="disabledInput"
					maxlength="20" disabled="disabled"></td>
				<td align="center">质量体系</td>
				<td><input name="qualitySystem" class="disabledInput"
					maxlength="20" disabled="disabled"></td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">属性D/F</td>
				<td><select name="property" class="disabledInput"
					disabled="disabled">
						<option value='0'>D</option>
						<option value='1'>F</option>
				</select></td>
				<td colspan="6"></td>
			</tr>


			<tr valign="middle" height="27px">
				<td colspan="8" style="font-weight: bold; text-align: center;">联系方式</td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">联系人</td>
				<td align="center"><input name="linkman"
					class="disabledInput" maxlength="20" disabled="disabled"></td>
				<td align="center">电话号码</td>
				<td><input name="tel" class="disabledInput" maxlength="20"
					disabled="disabled"></td>
				<td align="center">传真号码</td>
				<td><input name="fax" class="disabledInput" maxlength="20"
					disabled="disabled"></td>
				<td align="center">邮 编</td>
				<td><input name="postCode" class="disabledInput" maxlength="10"
					disabled="disabled"></td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">电子邮箱</td>
				<td colspan="7"><input name="email" class="disabledInput"
					disabled="disabled"></td>
			</tr>

			<tr valign="middle" height="27px">
				<td colspan="8" style="font-weight: bold; text-align: center;">采购控制信息</td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">供货周期</td>
				<td ><input name="supplyCycle" class="disabledInput" 
					maxlength="6" disabled="disabled"></td>
				<td align="center">发票税码</td>
				<td><input name="cpurbillcode" maxlength="6"
					class="disabledInput" disabled="disabled"></td>
				<td align="center" >物流方式</td>
				<td><select name="couttype" class="disabledInput"
					disabled="disabled"> ${couttypeSelect}
				</select></td>
				<td align="center">企业类型</td>
				<td><select name="companyType" class="disabledInput"
					disabled="disabled"> ${companyTypeSelect}
				</select></td>
			</tr>

			<tr valign="middle" height="27px">
				<td colspan="8" style="font-weight: bold; text-align: center;">结算信息</td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">银行类别</td>
				<td><input name="cvenbank" class="disabledInput"
					disabled="disabled" maxlength="30"></td>
				<td align="center">开户银行</td>
				<td><input name="cVenBankMemo" class="disabledInput"
					maxlength="30" disabled="disabled"></td>
				<td align="center">银行账号</td>
				<td><input name="bankAccount" maxlength="30"
					class="disabledInput" disabled="disabled"></td>
				<td align="center">银行开户名</td>
				<td><input name="bankAccountName" maxlength="30"
					class="disabledInput" disabled="disabled"></td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center">银行代码</td>
				<td><input name="bankCode" maxlength="30"
					class="disabledInput" disabled="disabled"></td>
				<td align="center">币 种</td>
				<td><select name="cmoneytype" class="disabledInput"
					disabled="disabled"> ${cmoneytypeSelect}
				</select></td>
				<td align="center">付款条件</td>
				<td><select name="ccuspaycondSelect" class="disabledInput"
					disabled="disabled" onchange="onCcuspaycondSelectChange(this);">
						<option value="0">票后30天</option>
						<option value="1">票后45天</option>
						<option value="2">票后60天</option>
						<option value="3">票后70天</option>
						<option value="4">其他</option>
				</select>
					<div id="ccuspaycondDiv" style="display: none">
						<input name="ccuspaycond" class="disabledInput" maxlength="20"
							disabled="disabled">
					</div></td>
				<td align="center">价格条款</td>
				<td><select name="ccontentSelect" class="disabledInput"
					disabled="disabled" onchange="onCcontentSelectChange(this);">
						<option value="0">出厂价</option>
						<option value="1">到库价</option>
						<option value="2">FOB</option>
						<option value="3">CIF</option>
						<option value="4">C&amp;F</option>
						<option value="5">其他</option>
				</select>
					<div id="ccontentDiv" style="display: none">
						<input name="ccontent" class="disabledInput" disabled="disabled">
					</div></td>
			</tr>
			<tr valign="middle" height="27px">
				<td colspan="8" style="font-weight: bold; text-align: center;">供应商资质管理</td>
			</tr>
			<tr valign="middle" height="27px">
				<td align="center" colspan="4">资质类别</td>
				<!-- <td align="center" >是否提供</td> -->
				<td align="center" colspan="2">开始时间</td>
				<td align="center" colspan="2">到期时间</td>
			</tr>
			<tr valign="middle" height="27px" style="display: none;">
				<td align="left" colspan="4" ><select class="manualInput" name="aptitudeClassSelect" onchange="onAptitudeClassSelectClick(this)" >
						<option value="" selected="selected"></option>
						<option value="营业执照">营业执照</option>
						<option value="税务登记证">税务登记证</option>
						<option value="组织机构代码">组织机构代码</option>
						<option value="品牌代理授权">品牌代理授权</option>
						<option value="生产许可证">生产许可证</option>
						<option value="经营许可证">经营许可证</option>
						<option value="TS16949/ISO9001">TS16949/ISO9001</option>
						<option value="ISO14001">ISO14001</option>
						<option value="OHSAS18001">OHSAS18001</option>
						<option value="诚信承诺书">诚信承诺书</option>
						<option value="其他">其他</option>
					</select><input name="aptitudeClass" class="manualInput" style="display: none"/><input name="pk_venapt" style="display: none;"></td>
				<!-- <td align="left">
					<select name="whetherToProvide" class="manualInput">
						<option value="是">是</option>
						<option value="否">否</option>
					</select>
				</td> -->
				<td align="left" colspan="2" >
					<input name="startTime" class="manualInput" onfocus="showDateSelect(this)" readonly="readonly"/>
				</td>
				<td align="left" colspan="2" style="width: 95%;">
					<input name="endTime" class="manualInput" onfocus="showDateSelect(this)" readonly="readonly"/>
				</td>
			</tr>
			<tr height="27px">
				<td colspan="8" style="BORDER: none;">
					<div style="padding-top: 5" align="center">
						<input id="submitButton"
							style="FONT-SIZE: 10pt; WIDTH: 72px; FONT-FAMILY: 微软雅黑"
							type="button" size="22" value="确定" onclick="onButtonClick();" />
					</div>
				</td>
			</tr>
		</tbody>
	</table>
	<br/>
	<br />
</body>
<script type="text/javascript">
	//supplyRangeDIV
	var typeXML = '${treeXML}';
	var typeJSON = eval('(${typeJSON})');
	var operator = eval('(${operator})');
	var companyTreeXML = '${companyTreeXML}';
</script>
<script src="./apps_res/oa2uap/js/fillProviderImport.js"></script>
</html>
